home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / bin / X11 / sfs < prev    next >
Text File  |  1995-07-14  |  603b  |  26 lines

  1. :
  2. # sfs - shell script front-end to sfs, the Space Flight Simulator
  3. #
  4.  
  5. inform() {
  6.     echo "\nThe sfs Space Flight Simulator is apparently not installed."
  7.     echo "In order to install sfs, as root, execute the command :"
  8.     echo "\n\t# /usr/skunk/bin/sprinkle sfs\n"
  9.     echo "This will create a writeable directory /usr/games/lib/sfs"
  10.     echo "containing the necessary sfs files."
  11.     echo "You can then run sfs as a normal user by executing the command :"
  12.     echo "\n\t$ /usr/skunk/bin/X11/sfs\n"
  13.     exit 1
  14. }
  15.  
  16. if [ -d /usr/games/lib/sfs ]
  17. then
  18.     cd /usr/games/lib/sfs
  19.     [ -x sfs ] || inform
  20.     ./sfs
  21. else
  22.     inform
  23. fi
  24.  
  25. exit 0
  26.